
#include "interrupter.h"
//////////////////////////////// Callback stubs ////////////////////////////////

PPM_CONSTRUCTOR_CB(constructor) {
    bhmPrintf("Constructor called\n");
    periphConstructor();
    // YOUR CODE HERE (post constructor)
}

PPM_DESTRUCTOR_CB(destructor) {
	bhmPrintf("Destructor called\n");
    // YOUR CODE HERE (destructor)
}

PPM_REG_READ_CB(regRd32) {
    // YOUR CODE HERE (regRd32)
	bhmPrintf("Unset Interrupt!\n");
	ppmWriteNet(handles.intp, 0);
    return ++*(Uns32*)user;
}

